package com.example.sys.org.dao;

import com.example.core.dao.BaseDao;
import com.example.sys.org.model.SysOrgUser;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface SysOrgUserDao extends BaseDao<SysOrgUser> {
    @Query(value = "from SysOrgUser where fdUserName =:userName")
    public SysOrgUser findSysOrgUserByFdUserName(@Param("userName") String userName);
}
